package com.mison.core;

import java.util.HashMap;
import java.util.Map;

public class Action {

	private String name;
	
	private String type;

	private String key;
	
	private String scope;
	
	private Map<String,Result> resultMap = new HashMap<String,Result>();
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

	public Result getResult(String resultName) {
		return resultMap.get(resultName);
	}

	public void setResultMap(Map<String, Result> resultMap) {
		this.resultMap = resultMap;
	}
	
}
